package com.winit.openapi.oauth.dao;

import java.util.List;

import com.winit.common.orm.mybatis.MyBatisPageRepo;
import com.winit.common.orm.mybatis.MyBatisRepo;
import com.winit.openapi.oauth.entity.APISystemConfigEntity;
@MyBatisRepo
public interface APISystemConfigDao extends MyBatisPageRepo<APISystemConfigEntity, Long> {

    APISystemConfigEntity selectByKey(String configKey);

    void updateConfig(APISystemConfigEntity entity);
    
    void disableByKey(String configKey);

    void insertSelective(APISystemConfigEntity entity);
    
    List<APISystemConfigEntity> findAll();

    APISystemConfigEntity selectNonActiveEntityByKey(String configKey);
    

}
